var vm = new Vue({
    el: "#app",
    data: {
        name: '',
        pass: '',
        arr: [

        ]
    },
    methods: {
        login() {
            var obj = { name: this.name, pass: this.pass }
            this.arr.push(obj);
            this.name = '';
            this.pass = '';
        }
    },
})